package com.linmu.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author admin
 * @version 1.0.0
 * @ClassName MyLoginLimitConfig.java
 * @Description 限制登录的自定义参数配置类
 * @createTime 2022年02月01日 12:57:00
 */
@Data
@Component
@ConfigurationProperties(prefix = "param.login-limit")
public class MyLoginLimitConfig {
    private int TimesFailToLock;
    private int ConstFailTime;
    private int LockTime;
}
